﻿//***********************************************************************
// Assembly         : IGolovkine.AoA.Core
// Author           : Ilia
// Created          : 06-11-2011
//
// Last Modified By : Ilia
// Last Modified On : 06-11-2011
// Description      : 
//
// Copyright        : (c) Microsoft. All rights reserved.
//***********************************************************************
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IGolovkine.AoA.BinarySerialization;
using System.Globalization;

namespace IGolovkine.AoA.Tcp
{
    [Serializable]
    public class TcpConnectionTerminated : TcpConnectionMessage
    {
        public TcpConnectionTerminated(CorrelationId connectionId) : base(connectionId)
        {
        }

        protected TcpConnectionTerminated(ISlimBinaryReader reader)
            : base(reader)
        {
        }

        public override void Serialize(ISlimBinaryWriter writer)
        {
            base.Serialize(writer);
        }

        public override string ToString()
        {
            return string.Format(CultureInfo.CurrentCulture, "{0}", this.GetType().Name);
        }
    }
}
